package com.epcs.model.bo;

import com.epcs.model.dao.SettingDAO;
import com.epcs.model.dto.Account;
import com.epcs.model.dto.Setting;

public class SettingBO {

	public boolean saveChange(Setting setting){
		SettingDAO  dao = new SettingDAO();		
		return dao.updateSetting(setting);
	}
	
	public Setting getSetting(Account account){
		Setting  item = new SettingDAO().getSettingFromDB(account);
		return item;
	}
	
}
